home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekkan Dennou Club 147
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan).7z
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan) (Track 1).bin
/
tools
/
zmc3v078
/
zmc3v078.lzh
/
SRCSV078.LZH
/
ETC.H
< prev
next >
Wrap
C/C++ Source or Header
|
1999-08-22
|
1KB
|
44 lines
#include "config.h"
#define FILENOTFOUND 1
#define NONZMD 2
#define ZMDVERERR 3
#define READERR 4
#define WRITEERR 5
#define FLUSHERR 6
#define SWERR 7
#define TOOMANYFILES 8
#define WAVNOTDEFIND 9
#define NOMEMORY 10
#define ILLEGALSWITCH 11
#ifdef MEMDEBUG
typedef struct memDebugData {
struct memDebugData *next;
/* struct memDebugData *prev; */
DWORD size; /* malloced size */
void *adrs; /* malloced area */
char *label; /* label name */
} MEMDEBUGDATA;
void memdebug(void);
#endif
void efree(void *ptr, char *label);
void *emalloc(size_t n, char *label);
void *erealloc(void *ptr,size_t n, char *label);
void *emarealloc(void *ptr,size_t n, char *label);
void fatal(int ret,char *fmt, ...);
inline WORD getWordAlign(UBYTE*);
inline DWORD getDwordAlign(UBYTE*);
inline void putWordAlign(UBYTE*,WORD);
inline void putDwordAlign(UBYTE*,DWORD);
inline WORD getWord(UBYTE*);
inline DWORD getDword(UBYTE*);
inline void putWord(UBYTE*,WORD);
inline void putDword(UBYTE*,DWORD);
#ifndef UNIXY_OS
int iskanji(int a);
#endif